package com.jml.apollo.api.controller;


import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class IndexController {

	//value注解里应该配置默认值
	@Value("${jmlkey:test}")
	private String  jmlkey;

	@RequestMapping("/getKey")
	public String getKey(){
		return jmlkey ;
	}
}
